-- GENERATED SPELL FOR [Young Wetlands Crocolisk] --


function spell0_1417(pUnit, Event) --@Bite,n/a--
pUnit:FullCastSpellOnTarget(17256,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1417', 601, 1)
end

function Sorts_1417(pUnit, Event)
local choix_sorts_1417 = math.random(0, 0)
if choix_sorts_1417 == 0 then
pUnit:RegisterEvent('spell0_1417', 1, 1)
end
end

function mob1417_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1417', math.random(1500, 3000), 1)
end

function mob1417_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1417_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1417_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1417, 1, 'mob1417_Action')
RegisterUnitEvent(1417, 2, 'mob1417_Leave')
RegisterUnitEvent(1417, 3, 'mob1417_Kill')
RegisterUnitEvent(1417, 4, 'mob1417_Die')
